﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="House.aspx.cs" Inherits="Main_House" %>

<%@ Register src="../top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="../bottom.ascx" tagname="bottom" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title><%=   ConfigurationSettings.AppSettings["title"]   %>-房产楼盘</title>
	<meta name="Keywords" content="<%=   ConfigurationSettings.AppSettings["Keywords"]   %>" />
    <meta name="description" content="<%=   ConfigurationSettings.AppSettings["description"]   %>" />
    <link href="../css/header/header.css" rel="stylesheet" type="text/css" />
    <link href="../css/footer/footer.css" rel="stylesheet" type="text/css" />
    <link href="../css/shop/shop.css" rel="stylesheet" type="text/css" />
    <base target=_blank> 
</head>
<body>
    <form id="form1" runat="server">
        <uc1:top ID="top1" runat="server" />
        <div class="main_all">    
        	<div class="shop_search">            
                <table>
                    <tr>
                        <td>
                            类型：</td>
                        <td>
                          <asp:DropDownList ID="ddltype" runat="server">
                          <asp:ListItem Value="0">--请选择--</asp:ListItem>
                              <asp:ListItem Value="商品房">商品房</asp:ListItem>
                              <asp:ListItem Value="经济适用房">经济适用房</asp:ListItem>
                              <asp:ListItem Value="商业租房">商业租房</asp:ListItem>
                          </asp:DropDownList></td>
                        <td>
                           均价范围：</td>
                        <td>
                            <asp:TextBox ID="txtminmoney" runat="server" Width="50px"></asp:TextBox></td>
                        <td>
                           —</td>
                        <td>
                            <asp:TextBox ID="txtmaxmoney" runat="server" Width="50px"></asp:TextBox></td>
                        <td>
                           元/㎡&nbsp;楼盘名：</td>
                        <td>
                            <asp:TextBox ID="txtname" runat="server"></asp:TextBox></td>
                        <td>
                            <asp:Button ID="btnsearch" runat="server" CssClass="btngrey" Text="查找" 
                    onclick="btnsearch_Click" />    </td>
                    </tr>
                </table>    
            </div>      
                <div class="shop">
                    <asp:DataList ID="dlhouse" runat="server" CssClass="shop_nr" RepeatColumns="4" RepeatDirection="Horizontal">
                        <ItemTemplate>
                            <asp:HiddenField ID="Hiddenhid" runat="server" Value='<%# Eval("Hid") %>' />
                          
                            <table class="shop_show">
                            
                                <tr>
                                
                                <td>
                                    <div class="shop_image">
                                        <asp:ImageButton ID="Imbtnimage" runat="server" Width="100px" Height="80px" ImageUrl='<%# Eval("Hlogo") %>' />
                                    </div> 
                                </td> 
                                
                                <td>
                                    <table class="shop_txt">
                                    
                                    <tr><td>
                                        <div class="shop_txt_h"><asp:Label ID="labhname"  runat="server" Text='<%# Eval("Hname") %>'></asp:Label></div>
                                    </td></tr> 
                                    
                                    <tr><td>  
                                        <div class="shop_txt_l">
                                            类型：<asp:Label ID="labhtype" runat="server"  Text='<%# Eval("Htype") %>'></asp:Label><br/>
                                            均价：<asp:Label ID="labhcost" runat="server"  Text='<%# Eval("Hcost") %>'></asp:Label>元/㎡
                                        </div>
                                    </td></tr> 

                                    <tr><td>    
                                        <asp:HyperLink ID="Hlkhouse" runat="server" Text="查看详细" CssClass="shop_but"></asp:HyperLink>
                                    </td></tr>
                                           
                                    </table>
                                </td>
                                
                                </tr>
                                
                            </table>
                            
                        </ItemTemplate>
                    </asp:DataList>
                </div>
        </div>
        <uc2:bottom ID="bottom1" runat="server" />
    </form>
</body>
</html>
